// 婚纱套系
var mongoose = require('mongoose');

var Schema = mongoose.Schema;
var ObjectId = Schema.ObjectId;

var SerieSchema = new Schema({
    title: { type: String },
    intro: { type: String },
    price: { type: Number },
    optCount: { type: Number },
    takeCount: { type: Number },
    pictures: [String],
    createAt: { type: Date, default: Date.now },
    updateAt: { type: Date, default: Date.now },
    deleted: { type: Boolean }
});

mongoose.model('Serie', SerieSchema);